<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta author="tianjindong.cn 田金东">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>听到微笑的博客</title>
<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/css/nprogress.css">
<link rel="stylesheet" type="text/css" href="/css/style.css">
<link rel="stylesheet" type="text/css" href="/css/font-awesome.min.css">
<link rel="apple-touch-icon-precomposed" href="/images/icon/icon.png">
<link rel="shortcut icon" href="/images/icon/favicon.ico">
<script src="/js/jquery-2.1.4.min.js"></script>
<script src="/js/nprogress.js"></script>
<script src="/js/jquery.lazyload.min.js"></script>
<style type="text/css">
.panel {
	padding: 80px 20px 0px;
	min-height: 500px;
	cursor: default;
}

.text-center {
	margin: 0 auto;
	text-align: center;
	border-radius: 10px;
	max-width: 900px;
	-moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, .3);
	-webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, .3);
	box-shadow: 0px 0px 5px rgba(0, 0, 0, .1);
}

</style>
</head>

<body class="user-select">
	<jsp:include page="common/top.jsp" />
	<section class="container">
		<div class="panel  panel-default">
			<div class="panel-body" align="center">您的账户激活成功，请前往登录页面登录！<br><span id="show"></span>&nbsp&nbsp<a href="/index.html">前往首页</a></div>
		</div>
	</section>
	<jsp:include page="common/footer.jsp" />
	<script src="/js/bootstrap.min.js"></script>
	<script src="/js/jquery.ias.js"></script>
	<script src="/js/scripts.js"></script>
	<script src="/js/console.js"></script>
	<script type="text/javascript">
		var t = 10; //设定跳转的时间 
		setInterval("refer()", 1000); //启动1秒定时 
		function refer() {
			if (t == 0) {
				window.location.href = "${pageContext.request.contextPath}/index.html"; //#设定跳转的链接地址 
			}
			$("#show").empty();
			$("#show").append("" + t + "秒后跳转到首页");
			t--; // 计数器递减 
		}
	</script>
</body>
</html>